package game.craft.model;

import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.image.ImageObserver;

/**
 * Created by IntelliJ IDEA.
 * User: ccayirog
 * Date: Mar 27, 2011
 * Time: 10:31:07 PM
 * To change this template use File | Settings | File Templates.
 */
public interface Item {
    void move();

    int getX();

    int getY();

    Image getImage();

    void keyPressed(KeyEvent e);

    void keyReleased(KeyEvent e);

    Rectangle getBounds();

    void setExist(boolean exist);

    boolean isExist();

    void draw(Graphics graphics, ImageObserver observer);
}
